package com.eleme.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单实体类
 */
@Data
@TableName("orders")
public class Order implements Serializable {
    @TableId
    private Long orderId;
    private String userId;
    private String businessId;
    private BigDecimal totalAmount;
    private Integer orderStatus; // 0-未支付 1-已支付 2-已取消
    private Date createTime;
    private Date payTime;
} 